package com.cxyzy.demo

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.cxyzy.demo.property_anims.PColorActivity
import com.cxyzy.demo.property_anims.PMoveActivity
import com.cxyzy.utils.ext.startActivity
import kotlinx.android.synthetic.main.activity_property.*


class PropertyActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_property
        )
        initView()
    }

    private fun initView() {
        moveBtn.setOnClickListener { startActivity<PMoveActivity>() }
        colorBtn.setOnClickListener { startActivity<PColorActivity>() }
//        scaleDownBtn.setOnClickListener { startActivity<ScaleDownActivity>() }
//        scaleUpBtn.setOnClickListener { startActivity<ScaleUpActivity>() }
//        rotateBtn.setOnClickListener { startActivity<RotateActivity>() }
//        windmillBtn.setOnClickListener { startActivity<WindmillActivity>() }
//        fadeOutBtn.setOnClickListener { startActivity<FadeOutActivity>() }
//        fadeOutFadeInBtn.setOnClickListener { startActivity<FadeOutFadeInActivity>() }
//        moveAndScaleDownBtn.setOnClickListener { startActivity<ScaleDownAndMoveActivity>() }
    }
}
